package com.algorithm.thePrimaryAlgorithm;

import org.junit.Test;

public class StringSulotion389 {
    public char findTheDifference(String s, String t) {
        char c1 = 0;
        for (int i = 0; i < t.length(); i++) {
            char c = t.charAt(i);
            if (!s.contains(c+"")){
                c1 =  c;
                break;
            }
        }
        return c1;
    }

    @Test
    public void test(){
        char theDifference = findTheDifference("", "y");
        System.out.println("");
    }
}
